From fbfc015c2af5e9c004a0576b22eee59ddc3e8614 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Wed, 14 Sep 2005 09:20:21 +0000 Subject: [PATCH] Fix 64-bit build problem. Not allowed to movl between a segment register and a memory location. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S index 2898cef5d7..621a6f9f5f 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/entry.S @@ -751,10 +751,10 @@ ecrit: /**** END OF CRITICAL REGION ****/ # Hypervisor uses this for application faults while it executes. ENTRY(failsafe_callback) addq $0x10,%rsp /* skip rcx and r11 */ -1: movl (%rsp),%ds -2: movl 8(%rsp),%es -3: movl 16(%rsp),%fs -4: movl 24(%rsp),%gs +1: mov (%rsp),%ds +2: mov 8(%rsp),%es +3: mov 16(%rsp),%fs +4: mov 24(%rsp),%gs addq $0x20,%rsp /* skip the above selectors */ SAVE_ALL jmp error_exit -- 2.30.2